package com.ruoyi.consumer.domain;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 支付记录退款实体
 * @author lisongtao
 * @date 2023/11/22 22:32
 */
@Data
public class PaymentRecordRefund {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @NotBlank(message = "支付记录编号不能为空！")
    private String id;

    /** 退款金额 */
    @NotNull(message = "退款金额不能为空！")
    private BigDecimal refundPrice;

}
